SET (PROCESSING_PLUGIN_DIR ${QGIS_DATA_DIR}/python/plugins/processing)

ADD_SUBDIRECTORY(admintools)
ADD_SUBDIRECTORY(algs)
ADD_SUBDIRECTORY(commander)
ADD_SUBDIRECTORY(core)
ADD_SUBDIRECTORY(gdal)
ADD_SUBDIRECTORY(grass)
ADD_SUBDIRECTORY(grass7)
ADD_SUBDIRECTORY(gui)
ADD_SUBDIRECTORY(images)
ADD_SUBDIRECTORY(lidar)
ADD_SUBDIRECTORY(modeler)
ADD_SUBDIRECTORY(otb)
ADD_SUBDIRECTORY(outputs)
ADD_SUBDIRECTORY(parameters)
ADD_SUBDIRECTORY(r)
ADD_SUBDIRECTORY(saga)
ADD_SUBDIRECTORY(script)
ADD_SUBDIRECTORY(taudem)
ADD_SUBDIRECTORY(tools)
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(exampleprovider)
ADD_SUBDIRECTORY(molusce)
ADD_SUBDIRECTORY(GroupStats)
ADD_SUBDIRECTORY(tablemanager)
ADD_SUBDIRECTORY(reclasstable)
ADD_SUBDIRECTORY(raster_transparency)
ADD_SUBDIRECTORY(ui)

#FILE(GLOB UIPY_FILES ui/*.py)
#FILE(GLOB UI_FILES ui/*.ui)
#PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})

FILE(GLOB OTHER_FILES metadata.txt)
FILE(GLOB PY_FILES *.py)
FILE(GLOB CSS_FILES style.css)

#PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)

#${PYRC_FILES}
PLUGIN_INSTALL(processing . ${PY_FILES} ${OTHER_FILES} ${CSS_FILES})
#PLUGIN_INSTALL(processing ui ${PYUI_FILES} ui/__init__.py)
